package com.ocom.common.request.web;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GetZoneDateListRequest {

    @JsonProperty(value = "comId")
    @NotNull(message = "单位编号 不能为空")
    Long comId;

    @JsonProperty(value = "page")
    Integer page;

    @JsonProperty(value = "size")
    Integer size;
}
